課程資訊
課程名稱
社會科學程式設計
Programming for Social Science 
開課學期
112-1 
授課對象
社會科學院  新聞研究所  
授課教師
謝吉隆 
課號
JOUR5020 
課程識別碼
342 U1300 
班次
 
學分
3.0 
全/半年
半年 
必/選修
選修 
上課時間
星期一2,3,4(9:10~12:10) 
上課地點
新聞103 
備註
新聞所學生優先。
限學士班三年級以上
總人數上限:30人
外系人數限制:15人 
 
課程簡介影片
 
核心能力關聯
核心能力與課程規劃關聯圖
課程大綱
為確保您我的權利,請尊重智慧財產權及不得非法影印
課程概述

近年資料科學、計算機方法廣泛地在各個領域被應用,社會科學也不例外。過去我們也培育相當多人文社會科學的資訊跨域人才,有部分進入一般想像的資訊領域職場,有部分進入了跨域職場(如輿情分析師、資料新聞記者)、更有不少人社科學的畢業生告訴我們他們在人資、公關、法務、投顧等工作上運用資料科學方法,寫程式、爬取資料、彙整資料、探勘資料。

本門課主要的授課對象為對應用計算機方法於政治傳播與社會議題有興趣的學生,相較於演算法與數值運算,將著重在社會科學的文字運算、網絡結構、人口變項、地理資訊等跟資料特性相關的運算。如果你未來想要用這類議題作為碩士論文或未來想到國外修讀計算社會科學碩士學位者,將是最合適的選修人選。或者你曾經選修過經濟系、共教中心、新聞所等R語言相關課程但卻尚未學過Python程式語言的同學,更是你接續學習第二種語言的最好機會。

已修過其他校內Python相關課程、電機資訊學院同學請勿選修。

過往本門課會比較強調傳遞完整的社會科學程式設計能力給學生,但本學期在作業與專題的設計上,會希望引導同學去發掘社會科學寫程式可以做什麼事,並大量運用ChatGPT作為教學輔助工具於課程中,也希望能引發更多同學的興趣。

本年度詳細課綱請見:https://docs.google.com/document/d/1sLe6FcWAEIeCKWM6HfaMmMW7ekIdm1igz_fNu8kIBvc/edit?usp=sharing
 

課程目標
培育人文社會科學領域運用資訊工具、撰寫程式來解決問題的人才 
課程要求
Absence - 3%: Absences should be reported through the myNTU’s student leave system. If a student is absent without leave, 3 points will be deducted from the total semester grade. 
預期每週課後學習時數
4 to 8 hours 
Office Hours
 
指定閱讀
https://p4css.github.io/py4css/intro.html 
參考書目
https://p4css.github.io/py4css/intro.html 
評量方式
(僅供參考)
 
No.
項目
百分比
說明
1. 
Project 
35% 
The project grade comprises two components: Evaluation of the final presentation or poster exhibition at the end of the semester, which accounts for 25% of the project grade. A written final report, which contributes 10% to the project grade. 
2. 
Midterm Exam 
15% 
The midterm exam will consist of 15 to 20 questions randomly selected from a pool of approximately 60 sample questions. Additionally, 5 to 10 questions will be drawn from the three Datacamp exercises. The question types will remain unchanged, only the numerical values will be modified. 
3. 
Assignments 
50% 
On average, one assignment will be given per week, totaling 10 to 12 assignments throughout the semester. The duration for each assignment is one week. Late submissions within four days (until Friday, 23:59) will have the score multiplied by 0.7. After the midnight before the next class day (Sunday, 23:59), no further late submissions will be accepted. 
 
課程進度
週次
日期
單元主題
第1週
9/04  Using Python: Counting, keyness of text 
第2週
9/11  Python Basic, List & Dict 
第3週
9/18  Python Basic: Iteration 
第4週
9/25  Python Basic: Flow Control 
第5週
10/02  Data manipulation with Pandas 
第6週
10/09  Vocation 
第7週
10/16  Scraping with Web API 
第8週
10/23  Twitter: Scraping & Data Exploration 
第9週
10/30  Text Mining Basic: Keywords 
第10週
11/06  Collocation 
第11週
11/13  Data Visualization 
第12週
11/20  Clustering and Classification 
第13週
11/27  Embeddings 
第14週
12/04  Sentiment analysis and Stance detection 
第15週
12/11  SQLite and Postgres 
第16週
12/18  Final Report